home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / foreach.readme < prev    next >
Text File  |  1996-09-26  |  1KB  |  42 lines

  1. Short:    VERY useful, flexible shell-command.
  2. Author:   farindk@trick.informatik.uni-stuttgart.de (Dirk Farin)
  3. Uploader: farindk@trick.informatik.uni-stuttgart.de (Dirk Farin)
  4. Type:     util/cli
  5.  
  6.  
  7. Foreach
  8. -------
  9.  
  10. Lets you perform the same command with different arguments.
  11. For example:
  12.  
  13.  - compress all .txt files into its own archive
  14.     foreach #?.txt lha m &< &
  15.  
  16.  - rename all .lzh files to .lha:
  17.     foreach #?.lzh rename &<.lzh &<.lha
  18.  
  19.  - make two backups of all files
  20.     foreach {bak1,bak2} copy #? df0:&
  21.  
  22. and much more...
  23.  
  24.  
  25. Requirements:
  26.   Workbench 2.0
  27.  
  28.  
  29. I promise: you can't live without it in the future !
  30. Have fun!
  31.  
  32.  
  33. ============================= Archive contents =============================
  34.  
  35. Original  Packed Ratio    Date     Time    Name
  36. -------- ------- ----- --------- --------  -------------
  37.    10948    6966 36.3% 20-Jul-94 20:55:54  foreach
  38.     4053    1720 57.5% 20-Jul-94 20:32:38  foreach.doc
  39.     4260    1923 54.8% 20-Jul-94 20:34:46  foreach.dok
  40. -------- ------- ----- --------- --------
  41.    19261   10609 44.9% 08-Jan-95 03:52:46   3 files
  42.